.PHONY:all
all:tcpserver tcpclient

tcpserver:main.cc
	g++ -o $@ $^ -lpthread -std=c++11
tcpclient:tcpclient.cc
	g++ -o $@ $^  -std=c++11

.PHONY:clean
clean:
	rm -f tcpclient tcpserver